.display {
  display: inline-block;
  vertical-align: top;
}
.box {
  box-sizing: border-box;
}
.ly-content .ly-pay {
  margin-top: 30px;
  position: relative;
  font-size: 0;
}
.ly-content .ly-pay h1 {
  font-size: 16px;
}
.ly-content .ly-pay .ly-list {
  width: 40%;
  padding: 40px 20px;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
}
.ly-content .ly-pay .ly-list li {
  width: 200px;
  height: 50px;
  display: block;
  line-height: 50px;
  margin-bottom: 30px;
  font-size: 18px;
  border: 1px solid #e5e5e5;
  cursor: pointer;
}
.ly-content .ly-pay .ly-list li.ly-cation {
  border: 1px solid #000;
}
.ly-content .ly-pay .ly-list li img {
  width: 40px;
  float: left;
  margin: 5px;
}
.ly-content .ly-pay .ly-list li:last-child {
  border: none;
}
.ly-content .ly-pay .ly-list li a {
  font-size: 14px;
}
.ly-content .ly-pay .ly-ping-pai {
  width: 60%;
  display: inline-block;
  vertical-align: top;
}
.ly-content .ly-pay .ly-ping-pai img {
  width: 100%;
}
.ly-layer {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999;
  background: rgba(0, 0, 0, 0.4);
  display: none;
}
.ly-layer .ly-code {
  width: 260px;
  height: 300px;
  box-sizing: border-box;
  position: absolute;
  padding: 30px;
  background: #fff;
  top: 50%;
  left: 50%;
  z-index: 9;
  margin-top: -150px;
  margin-left: -130px;
  box-shadow: 0 0 5px #333;
}
.ly-layer .ly-code img {
  width: 100%;
}
.ly-layer .ly-code p {
  line-height: 30px;
  font-size: 14px;
  text-align: center;
}
.ly-layer .ly-code .ly-close {
  width: 40px;
  height: 60px;
  position: absolute;
  top: -60px;
  right: 0;
  cursor: pointer;
}
@media screen and (max-width: 760px) {
  .ly-content .ly-pay .ly-list {
    width: 100%;
  }
  .ly-content .ly-pay .ly-list li:last-child {
    margin-bottom: 0;
  }
  .ly-content .ly-pay .ly-ping-pai {
    width: 100%;
  }
}
